package com.nanhai.buddhist.college.module.study.convert.studysubject;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.studysubject.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.studysubject.StudySubjectDO;

/**
 * 课程管理 Convert
 *
 * @author xqenzo@163.com
 */
@Mapper
public interface StudySubjectConvert {

    StudySubjectConvert INSTANCE = Mappers.getMapper(StudySubjectConvert.class);

    StudySubjectDO convert(StudySubjectCreateReqVO bean);

    StudySubjectDO convert(StudySubjectUpdateReqVO bean);

    StudySubjectRespVO convert(StudySubjectDO bean);

    List<StudySubjectRespVO> convertList(List<StudySubjectDO> list);

    PageResult<StudySubjectRespVO> convertPage(PageResult<StudySubjectDO> page);

    List<StudySubjectExcelVO> convertList02(List<StudySubjectDO> list);

}
